#ifndef LIGHT_H
#define LIGHT_H

#include <QtCore>
#include <defs/export.h>
#include <defs/global.h>

namespace Opl{ namespace Gui {

    class EXPORTED Light
    {
    public:
        Light() {}
        Light(const QPointF &pos, qreal intensity);

        qreal intensityAt(const QPointF &pos) const;

        QPointF pos() const { return m_pos; }
        qreal intensity() const { return m_intensity; }

    private:
        QPointF m_pos;
        qreal m_intensity;
    };
};};
#endif // LIGHT_H
